package com.dome.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@MapperScan(value = {"com.dome.*.mapper"})
@EnableFeignClients(basePackages = {"com.dome.*.feign"})
@EnableDiscoveryClient
//@SpringCloudApplication
@SpringBootApplication(scanBasePackages = {"com.dome.user",
        "com.dome.client.config","com.dome.base",
        "com.dome.util.spring",
        "com.dome.redis"})
@MapperScan({"com.gitee.sunchenbin.mybatis.actable.dao.*"})//固定的
@ComponentScan("com.gitee.sunchenbin.mybatis.actable.manager.*")//固定的
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
